package cn.broadsense.web.controller.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author huangjinshi
 * @description
 * @createDate 2023-09-12 14:12:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("分页查询项")
public class PageQuery implements Serializable {

    @ApiModelProperty("每页显示记录数")
    private Integer pageSize = 5;

    @ApiModelProperty("当前记录起始索引")
    private Integer pageNum = 1;
}
